home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Demos
/
Bowers Development
/
AppMaker 2.0b5
/
Examples
/
TCL
/
AMReminder
/
zAdd.cp
< prev
next >
Wrap
Text File
|
1996-03-19
|
3KB
|
104 lines
/* zAdd.cp -- dialog methods */
/* Created 01/01/95 12:01 PM by AppMaker */
/* We recommend that you not modify this module and instead modify */
/* its subclass, Add. The 'z' prefix on this module marks */
/* a module which is likely to be regenerated by AppMaker after you */
/* make changes to the user interface. The modules without the 'z' */
/* prefix will not be regenerated by AppMaker unless you delete them. */
/* Using a separate subclass to override the AppMaker-generated code */
/* lets you regenerate code without losing your hand-coded changes. */
#include <Commands.h>
#include <CBartender.h>
#include <CDialog.h>
#include <CAMButton.h>
#include <CPicture.h>
#include <CAMStaticText.h>
#include <CAMDialogText.h>
#include <CLabeledGroup.h>
#include <CAMRadioControl.h>
#include <CAMCheckBox.h>
#include <CAMPopupPane.h>
#include "zAdd.h"
extern CDesktop *gDesktop;
extern CBartender *gBartender;
#define AddID 1001
/*----------*/
void ZAdd::IZAdd (CDirectorOwner *aSupervisor)
{
CView *enclosure;
CBureaucrat *supervisor;
inherited::IAMDialogDirector (AddID, aSupervisor);
enclosure = itsWindow;
supervisor = itsWindow;
itsOKButton = new CAMButton;
itsOKButton->IViewRes ('CtlP', 1009, enclosure, supervisor);
itsCancelButton = new CAMButton;
itsCancelButton->IViewRes ('CtlP', 1010, enclosure, supervisor);
itsLogoPict = new CPicture;
itsLogoPict->IViewRes ('PctP', 1011, enclosure, supervisor);
itsAddReminderForLabel = new CAMStaticText;
itsAddReminderForLabel->IViewRes ('AETx', 1012, enclosure, supervisor);
itsDateLabel = new CAMStaticText;
itsDateLabel->IViewRes ('AETx', 1013, enclosure, supervisor);
itsDateField = new CAMDialogText;
itsDateField->IViewRes ('ADTx', 1014, enclosure, supervisor);
itsTimeLabel = new CAMStaticText;
itsTimeLabel->IViewRes ('AETx', 1015, enclosure, supervisor);
itsTimeField = new CAMDialogText;
itsTimeField->IViewRes ('ADTx', 1016, enclosure, supervisor);
itsAmPmGroup = new CLabeledGroup;
itsAmPmGroup->IViewRes ('LGrp', 1017, enclosure, supervisor);
itsAMRadio = new CAMRadioControl;
itsAMRadio->IViewRes ('CtlP', 1018, itsAmPmGroup, itsAmPmGroup);
itsPMRadio = new CAMRadioControl;
itsPMRadio->IViewRes ('CtlP', 1019, itsAmPmGroup, itsAmPmGroup);
itsMessageLabel = new CAMStaticText;
itsMessageLabel->IViewRes ('AETx', 1020, enclosure, supervisor);
itsMessageField = new CAMDialogText;
itsMessageField->IViewRes ('ADTx', 1021, enclosure, supervisor);
itsWhenRemindingLabel = new CAMStaticText;
itsWhenRemindingLabel->IViewRes ('AETx', 1022, enclosure, supervisor);
itsDisplayIconCheck = new CAMCheckBox;
itsDisplayIconCheck->IViewRes ('CtlP', 1023, enclosure, supervisor);
itsDisplayAlertCheck = new CAMCheckBox;
itsDisplayAlertCheck->IViewRes ('CtlP', 1024, enclosure, supervisor);
itsPlaySoundCheck = new CAMCheckBox;
itsPlaySoundCheck->IViewRes ('CtlP', 1025, enclosure, supervisor);
itsSoundPopup = new CAMPopupPane;
itsSoundPopup->IViewRes ('APop', 1026, enclosure, supervisor);
} /* IZAdd */
/*----------*/
void ZAdd::UpdateMenus (void)
{
inherited::UpdateMenus ();
} /* UpdateMenus */
/* zAdd.cp */